home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / G / Get⁄SetModDate 1.0 / Get_SetModDate 1.0 / cards.xml < prev    next >
Encoding:
Text File  |  1992-08-19  |  5.8 KB  |  179 lines

  1. card_2839.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2839</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_4303.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2788</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3217.css" />
  13.     <part>
  14.         <id>9</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>1</left>
  25.             <top>86</top>
  26.             <right>511</right>
  27.             <bottom>309</bottom>
  28.         </rect>
  29.         <style>transparent</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Monaco</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name></name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>10</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>2</left>
  57.             <top>54</top>
  58.             <right>114</right>
  59.             <bottom>76</bottom>
  60.         </rect>
  61.         <style>rectangle</style>
  62.         <showName> <true /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>GetModDate</name>
  74.         <script>on mouseUpanswer file "Choose a file to examine:"if it = "" then exit mouseupput GetModDate(it) into modDateconvert modDate to long date and timeanswer modDateend mouseUp</script>
  75.     </part>
  76.     <part>
  77.         <id>16</id>
  78.         <type>button</type>
  79.         <visible> <true /> </visible>
  80.         <reserved5> 0 </reserved5>
  81.         <reserved4> 0 </reserved4>
  82.         <reserved3> 0 </reserved3>
  83.         <reserved2> 0 </reserved2>
  84.         <reserved1> 0 </reserved1>
  85.         <enabled> <true /> </enabled>
  86.         <rect>
  87.             <left>473</left>
  88.             <top>51</top>
  89.             <right>511</right>
  90.             <bottom>84</bottom>
  91.         </rect>
  92.         <style>transparent</style>
  93.         <showName> <false /> </showName>
  94.         <highlight> <false /> </highlight>
  95.         <autoHighlight> <true /> </autoHighlight>
  96.         <sharedHighlight> <true /> </sharedHighlight>
  97.         <family>0</family>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>15664</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Chicago</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <name>Home</name>
  105.         <script>on mouseUpvisual dissolve to blackvisual dissolve to whitevisual dissolve to blackvisual dissolvego homeend mouseUp</script>
  106.     </part>
  107.     <part>
  108.         <id>17</id>
  109.         <type>button</type>
  110.         <visible> <true /> </visible>
  111.         <reserved5> 0 </reserved5>
  112.         <reserved4> 0 </reserved4>
  113.         <reserved3> 0 </reserved3>
  114.         <reserved2> 0 </reserved2>
  115.         <reserved1> 0 </reserved1>
  116.         <enabled> <true /> </enabled>
  117.         <rect>
  118.             <left>475</left>
  119.             <top>22</top>
  120.             <right>512</right>
  121.             <bottom>50</bottom>
  122.         </rect>
  123.         <style>transparent</style>
  124.         <showName> <false /> </showName>
  125.         <highlight> <true /> </highlight>
  126.         <autoHighlight> <false /> </autoHighlight>
  127.         <sharedHighlight> <true /> </sharedHighlight>
  128.         <family>0</family>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>13510</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Chicago</font>
  133.         <textSize>12</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <name>Jeff</name>
  136.         <script></script>
  137.     </part>
  138.     <part>
  139.         <id>18</id>
  140.         <type>button</type>
  141.         <visible> <true /> </visible>
  142.         <reserved5> 0 </reserved5>
  143.         <reserved4> 0 </reserved4>
  144.         <reserved3> 0 </reserved3>
  145.         <reserved2> 0 </reserved2>
  146.         <reserved1> 0 </reserved1>
  147.         <enabled> <true /> </enabled>
  148.         <rect>
  149.             <left>116</left>
  150.             <top>54</top>
  151.             <right>228</right>
  152.             <bottom>76</bottom>
  153.         </rect>
  154.         <style>rectangle</style>
  155.         <showName> <true /> </showName>
  156.         <highlight> <false /> </highlight>
  157.         <autoHighlight> <true /> </autoHighlight>
  158.         <sharedHighlight> <true /> </sharedHighlight>
  159.         <family>0</family>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>0</icon>
  162.         <textAlign>center</textAlign>
  163.         <font>Chicago</font>
  164.         <textSize>12</textSize>
  165.         <textStyle>plain</textStyle>
  166.         <name>SetModDate</name>
  167.         <script>on mouseUpput the seconds into newModDateput newmoddate into moddateconvert moddate to long date and timeanswer file "Choose a file to set Modification Date:"if it = "" then exit mouseupsetModDate it,newModDateanswer "Modification date set to" && moddate & "."end mouseUp</script>
  168.     </part>
  169.     <content>
  170.         <layer>card</layer>
  171.         <id>9</id>
  172.         <text>GetModDate takes one parameter, the pathname of the file to examine. It returns the time in seconds which can be converted to a date. SetModDate takes two parameters, the pathname of the file to work on, and the datetime in seconds. Click on and/or examine the scripts of the buttons above to see how they work!A small shareware fee of $5 is requested if you use these externals for anything besides personal use.If you have comments, questions, or suggestions, you can contact me in any of the following ways:     America Online: J5rson                  AppleLink: ALL.AMERICAN     CompuServe:     76675,1772              GEnie:     J5rson     Internet:       j5rson@aol.com          Telephone: 616.949.0346     U. S. Mail:           Jeff Iverson                           3841 Whispering Way Dr. SE #101                           Grand Rapids MI  49546-5849</text>
  173.     </content>
  174.     <name></name>
  175.     <script></script>
  176. </card>
  177.  
  178.  
  179.